import request from '@/util/requests.ts'
import {LoginFormData} from "@/api/user/types.ts";

enum API {
    LOGIN_URL = "/login",
}

//登录接口
export const reqLogin = (data: LoginFormData) => request.post<any, any>(API.LOGIN_URL, data);
